// ColorAndMonoDlg.h : header file
//

#pragma once

#include "EZ_LCD.h"

// CColorAndMonoDlg dialog
class G15SysInfo 
{

protected:
    NSImage* m_hIcon;

    CEzLcd m_lcd;

    int m_currentHighlightPosition;

    // LCD object handles

    // Monochrome
    void* m_smallText1;
    void* m_smallText2;
    void* m_mediumText;
    void* m_song;
    void* m_bigText;
    void* m_cpu;
    void* m_mem;
    void* m_nin;
    void* m_nout;
    void* m_tin;
    void* m_tout;
    void* m_nil;
    void* m_nol;
    void* m_temp;
    void* m_time;
    void* m_date;
    void* m_progressbar1;
    void* m_progressbar2;
    void* m_progressbar3;
    void* m_logo;
    void* m_right1;
    void* m_right2;
    // Color
    void* m_tinyTextColor1;
    void* m_tinyTextColor2;
    void* m_smallTextColor;
    void* m_mediumTextColor;
    void* m_bigTextColor;
    void* m_leftColor1;
    void* m_leftColor2;
    void* m_rightColor1;
    void* m_rightColor2;
    void* m_highlightColor1;
    void* m_highlightColor2;
    void* m_progressbar1Color;
    void* m_progressbar2Color;
    void* m_progressbar3Color;
    void* m_progressbar4Color;
    void* m_logoColor;

    // Bitmaps
    NSImage* m_background;
    NSImage* m_next;
    NSImage* m_previous;
    NSImage* m_highlight;
    NSImage* m_logoSmall;
    NSImage* m_sliderBase;
    NSImage* m_sliderHighlight;
    NSImage* m_sliderLeft;
    NSImage* m_sliderMid;
    NSImage* m_sliderRight;
    NSImage* m_sliderBase2;
    NSImage* m_sliderHighlight2;
    NSImage* m_next2;
    NSImage* m_previous2;
    NSImage* m_highlight2;


    void InitLCDObjectsMonochrome();
    void InitLCDObjectsColor();

    void CheckButtonPresses();
    void CheckbuttonPressesMonochrome();
    void CheckbuttonPressesColor();

    void UpdateProgressBars();
    void UpdateProgressBarsMonochrome();
    void UpdateProgressBarsColor();
    void netWorkUpdate();
	void itunesUpdate();
	void cpuUpdate();
	void formatNumber(char *, unsigned long long);
public:
    Boolean OnInitDialog();
    void OnTimer();
    
 };
